888b15fe63a5d597467441e8de2d28dac3245205,adal/src/main/java/com/microsoft/aad/adal/AcquireTokenRequest.java,AcquireTokenRequest,acquireTokenAfterValidation,#CallbackHandler#IWindowComponent#boolean#AuthenticationRequest#,212

Before Change


                ClientAnalytics.logEvent(new RefreshTokenEvent(
                        new InstrumentationPropertiesBuilder(authenticationRequest, authenticationResult),
                        InstrumentationIDs.EVENT_RESULT_SUCCESS, mAcquireTokenSilentWithBroker));
                callbackHandle.onSuccess(authenticationResult);
            } else {
                // Silent request, if token not returned, return AUTH_REFRESH_FAILED_PROMPT_NOT_ALLOWED back
                // to developer.

After Change


        //       broker 2) broker doesn't return any token back.
        final AuthenticationResult authenticationResultFromSilentRequest = tryAcquireTokenSilent(authenticationRequest);
        if (isAccessTokenReturned(authenticationResultFromSilentRequest)) {
            callbackHandle.onSuccess(authenticationResultFromSilentRequest);
        } else {
            Logger.d(TAG, "Trying to acquire token interactively.");
            acquireTokenInteractiveFlow(callbackHandle, activity, useDialog, authenticationRequest);